import type { DropDownProps as AntdDropDownProps } from 'antd';
import { Dropdown as AntdDropdown } from 'antd';
import React from 'react';
import DropdownButton from './DropdownButton';

export type { DropdownButtonProps } from './DropdownButton';
export type DropDownProps = AntdDropDownProps;

function Dropdown(props: DropDownProps) {
  return <AntdDropdown {...props} />;
}

Dropdown.DropdownButton = DropdownButton;

export { Dropdown, DropdownButton };
export default Dropdown;
